package com.lyw.dubbo.serviceImpl;

import com.lyw.dubbo.entity.UserEntity;
import com.lyw.dubbo.service.UserService;

import java.util.Arrays;
import java.util.List;

public class UserServiceImpl implements UserService {
    public List<UserEntity> getUserList(Integer userId) {
        UserEntity u1 = new UserEntity("用户1",1,20,"天津市武清区","0");

        UserEntity u2 = new UserEntity("用户2",2,22,"天津市北辰区","1");
        return Arrays.asList(u1,u2);
    }
}
